import request from '@/utils/request'
import { Result, DeepRequired } from '../../interface'

/**
 * 删除招聘流程
 * /recruitProcess/delete/{id}
 */
export function deleteRecruitProcessDeleteById(
  params: DeleteRecruitProcessDeleteByIdParams,
) {
  return request.delete<DeepRequired<Result>>(
    `/recruitProcess/delete/${params.id}`,
  )
}

interface DeleteRecruitProcessDeleteByIdParams {
  id: number
}
